package com.fypg.module.blooddonation.api.controller.app.bloodDonation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 获取预约时间段可约人数请求参数
 * @author 盘古
 */
@Data
@Schema(description = "获取预约时间段可约人数请求参数")
public class GetBloodDonationScheduleListReqVO extends BaseBloodRequestVO{
    /**
     * 预约日期
     * 格式: yyyy-MM-dd
     */
    @Schema(
            description = "预约日期",
            example = "2022-10-04"
    )
    @NotBlank(message = "预约日期不能为空")
    private String appDate;

    @Schema(description = "献血类型",example = "0")
    @NotBlank(message = "献血类型不能为空")
    private String bloodDonationType;

}
